<!-- Wrapper for the radial gradient background -->
<div id="sidebar">
	<div id="sidebar-wrapper">
		<!-- Sidebar with logo and menu -->
		<h1 id="sidebar-title"><a href="#">Simpla Admin</a></h1>
		<!-- Logo (221px wide) -->
		<a href="javascript:void(0);"><img id="logo" width="221" src="<?php echo APPLICATION_PUBLIC_PATH;?>/images/logo.png" alt="Simpla Admin logo" /></a>
		<!-- Sidebar Profile links -->
		<div id="profile-links">
			你好！ <a href="#" title="Edit your profile">管理员</a>
			<br />
			<br />
			<a href="<?php echo APPLICATION_ACTION_PATH; ?>/" title="View the Site">查看网站首页</a> | <a href="<?php echo APPLICATION_ACTION_PATH; ?>/manage/logout" title="Sign Out">退出</a>
		</div>
		<ul id="main-nav">
			<!-- Accordion Menu -->
			<li>
				<a href="javascript:void(0);" class="nav-top-item<?php
				if ($this->level1 == 'page') {echo ' current';
				}
			?>"> 页面管理 </a>
				<ul>
					<li>
						<a class="<?php
						if ($this->level2 == 'home') {echo 'current';
						}
					?>" href="<?php echo APPLICATION_ACTION_PATH;?>/manage/homepage">首页</a>
					</li>
					<li>
						<a class="<?php
						if ($this->level2 == 'about-zh') {echo 'current';
						}
					?>" href="<?php echo APPLICATION_ACTION_PATH;?>/manage/about?language=zh">关于我们（中文）</a>
					</li>
					<li>
						<a class="<?php
						if ($this->level2 == 'about-en') {echo 'current';
						}
					?>" href="<?php echo APPLICATION_ACTION_PATH;?>/manage/about?language=en">关于我们（英文）</a>
					</li>
					<li>
						<a class="<?php
						if ($this->level2 == 'about-pt') {echo 'current';
						}
					?>" href="<?php echo APPLICATION_ACTION_PATH;?>/manage/about?language=pt">关于我们（葡语）</a>
					</li>
					<li>
						<a class="<?php
						if ($this->level2 == 'contact-zh') {echo 'current';
						}
					?>" href="<?php echo APPLICATION_ACTION_PATH;?>/manage/contact?language=zh">联系我们（中文） </a>
					</li>
					<li>
						<a class="<?php
						if ($this->level2 == 'contact-en') {echo 'current';
						}
					?>" href="<?php echo APPLICATION_ACTION_PATH;?>/manage/contact?language=en">联系我们（英文）</a>
					</li>
					<li>
						<a class="<?php
						if ($this->level2 == 'contact-pt') {echo 'current';
						}
					?>" href="<?php echo APPLICATION_ACTION_PATH;?>/manage/contact?language=pt">联系我们（葡语）</a>
					</li>
				</ul>
			</li>
			<li>
				<a href="javascript:void(0);" class="nav-top-item<?php
				if ($this->level1 == 'model') {echo ' current';
				}
			?>"> <!-- Add the class "current" to current menu item --> 模特管理 </a>
				<ul>
					<li>
						<a class="<?php
						if ($this->level2 == 'list') {echo 'current';
						}
					?>" href="<?php echo APPLICATION_ACTION_PATH;?>/manage/model-list">模特列表</a>
					</li>
					<li>
						<a class="<?php
						if ($this->level2 == 'life') {echo 'current';
						}
					?>" href="<?php echo APPLICATION_ACTION_PATH;?>/manage/models-life">模特生活</a>
					</li>
					<li>
						<a class="<?php
						if ($this->level2 == 'join') {echo 'current';
						}
					?>"href="<?php echo APPLICATION_ACTION_PATH;?>/manage/model-join">模特加盟</a>
					</li>
				</ul>
			</li>
		</ul>
		<!-- End #main-nav -->
	</div>
</div>
<!-- End #sidebar -->